# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-pydbus
_pyname="pydbus"
pkgver=0.6.0
pkgrel=5
pkgdesc="Pythonic DBus library"
url="https://github.com/LEW21/pydbus"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3 py3-gobject3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/pydbus-$pkgver"
options="!check" # https://github.com/LEW21/pydbus/issues/85

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="a8d473080faaad7e6f44030b4355ae5535ca4b2aa62b94b05c782832a4732b0c9cfda40020005ced848bcfae8fb1783575e72c7a86104bf9fb05ab409178a9ea  pydbus-0.6.0.tar.gz"
